package pri.zxx.learndemo.lambdaandstream.functions;

import org.apache.poi.ss.formula.functions.T;

/**
 * @author Twilight
 * @desc
 * @createTime 2020-05-31-11:26
 */
@FunctionalInterface
public interface Out {
    static void println(Object o) {
        if (o != null) {
            System.out.println(o.toString());
        } else {
            System.out.println(o);
        }
    }

    static void print(Object o) {
        if (o != null) {
            System.out.print(o.toString() + " ");
        } else {
            System.out.print(o + " ");
        }
    }

    void println(T s);
}
